package com.ef.service;

import java.util.List;

import com.ef.domain.ClassFocus;
import com.ef.util.CustomExample;
import com.ef.util.PaginationSupport;

public interface ClassFocusService extends BaseService {

	public PaginationSupport<ClassFocus> findByExample(
			CustomExample<ClassFocus> example, int startIndex, int pageSize);
	
	public void saveOrUpdate(ClassFocus entity);
	
	public void delete(ClassFocus entity);
	
	public ClassFocus findById(Long id);
	
	public List<ClassFocus> findALL();
	
	public List<ClassFocus> findALLValid();
	
	public List<ClassFocus> findByName(String name,int max);
	
	public List<ClassFocus> findByType(Long classtypeid);
	
	public List<ClassFocus> findByNameAndType(String name,Long classtypeid, int max);
}
